ANativeWindow_lock

Lock the window's next drawing surface for writing. inOutDirtyBounds is used as an in/out parameter, upon entering the function, it contains the dirty region, that is, the region the caller intends to redraw. When the function returns, inOutDirtyBounds is updated with the actual area the caller needs to redraw -- this region is often extended by {@link ANativeWindow_lock}.

\return 0 for success, or a negative value on error.

extern (C) nothrow @nogc
int
ANativeWindow_lock

Meta